var book = require("./book.js");
console.log(book.read());

var bookA = require("./book.js");
var bookB = require("./book.js");

bookA.rate(10);
bookB.rate(20);

console.log(bookA.getPoints(), bookB.getPoints());


var bookC = require("./book.js").Book();
var bookD = require("./book.js").Book();

bookC.rate(10);
bookD.rate(20);

console.log(bookC.getPoints(), bookD.getPoints());